<?php
/**
 * 银行卡管理
 * User: guojing
 * Date: 2020/4/8
 * Time: 14:36
 */

namespace app\api\model;

use think\Model;

class Bank extends Model
{

    protected $name = 'banks';

    public static function findListByCondition($condition = [])
    {
        return self::where($condition)->select();
    }

    public static function findInfoByCondition($condition = [])
    {
        return self::where($condition)->find();
    }

}